<template>
    <ul>
        <!--<li>ID:{{$route.query.id}}</li>-->
        <!--<li>TITLE:{{$route.query.title}}</li>-->

        <!--<hr/>-->
        <!--{{a}}&#45;&#45;{{b}}-->

        <li>ID:{{id}}</li>
        <li>TITLE:{{title}}</li>

    </ul>
</template>

<script>
    export default {
        name: "Detail",
        //props:['a','b'],
        props:['id','title'],
        mounted() {
            console.log(this.$route)
        }
    }
</script>

<style scoped>

</style>